package com.jwsoft.manager.core.dao.mapper;

import com.jwsoft.manager.core.dao.model.EduhStudentEnrollFamily;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
  * 预采集家庭关系历史表 Mapper 接口
  * </p>
*
* @author zhiyuan
* @since 2023-10-13
*/
@Mapper
public interface EduhStudentEnrollFamilyMapper extends BaseMapper<EduhStudentEnrollFamily> {

    int saveBatch(@Param("hEnrollFamilyList") List<EduhStudentEnrollFamily> hEnrollFamilyList);

    List<EduhStudentEnrollFamily> selectByTaskDetailId(@Param("taskDetailId") String taskDetailId, @Param("currentPage") int currentPage, @Param("pageSize") Integer pageSize);
}
